package com.jianjian.factory;

import com.jianjian.dao.Impl.UserDaoImpl;
import com.jianjian.dao.UserDao;

/**
 * 工厂静态方法返回Bean实例
 * @author Zsir
 * @create 2021-12-11 17:53
 */
public class staticFactoryDemo {
    public static UserDao createUserDao(){
        return new UserDaoImpl();
    }

}
